/********************************************************************************
 * Deposits.java
 *
 * Created by Jigar Mistry
 * Last modified Date: Dec 31, 2008 2:54:42 PM by Jigar Mistry
 * Version : 0.1
 * Copyright (c) 2008 - 2009 cyberThink Infotech Pvt. Ltd., All rights reserved.
 ********************************************************************************/
package com.printeverywhere.dto;

import java.util.Date;

/**
 * Deposits entity.
 *
 * @author MyEclipse Persistence Tools
 */

public class Deposits implements java.io.Serializable {

	// Fields

	private Integer id;
	private User user;
	private Double amount;
	private Date depositDate;
	private String source;

	// Constructors

	/** default constructor */
	public Deposits() {
	}

	/** minimal constructor */
	public Deposits(Integer id) {
		this.id = id;
	}

	/** full constructor */
	public Deposits(Integer id, User user, Double amount, Date depositDate,
			String source) {
		this.id = id;
		this.user = user;
		this.amount = amount;
		this.depositDate = depositDate;
		this.source = source;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Double getAmount() {
		return this.amount;
	}

	public void setAmount(Double amount) {
		this.amount = amount;
	}

	public Date getDepositDate() {
		return this.depositDate;
	}

	public void setDepositDate(Date depositDate) {
		this.depositDate = depositDate;
	}

	public String getSource() {
		return this.source;
	}

	public void setSource(String source) {
		this.source = source;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

}